// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------

import request from "@/utils/request.js";


/**
 * 获取用户信息
 * 
 */
export function getUserInfo() {
	return request.get('/HhrLoginController/getClientUserInfo');
}

export function getMsgData(data) {
	return request.get('/HhrNoticeController/appHhrSelfPageData',data);
}

export function getMsgDetail(data) {
	return request.get('/HhrNoticeController/appDetail',data);
}

export function getOrderList(data) {
	return request.get('/HhrOrderController/hhrAppPageData',data);
}

export function getWithdrawList(data) {
	return request.get('/HhrPointDetailController/hhrAppSelfPageData',data);
}

export function getTopData(data) {
	return request.get('/HhrOrderController/hhrOrderAppSettleTopTj',data);
}


export function getWithdrawDetail(data) {
	return request.get('/HhrPointDetailController/appDetail',data);
}

export function getStatistics(data) {
	return request.get('/HhrPointDetailController/appHhrIncomeStatistics',data);
}

export function getBankList(data) {
	return request.get('/HhrBankController/appPageData',data);
}

export function getGsBankName(data) {
	return request.get('/HhrBankController/getGsBankName',data);
}

export function withdrawPoint(data) {
	return request.get('/HhrPointDetailController/appHhrPointTx',data);
}

export function sendCode(data) {
	return request.get('/HhrBankController/sendSMSVcode',data);
}

export function addCard(data) {
	return request.post('/HhrBankController/appAdd',data);
}

export function delCard(id,data) {
	return request.delete('/HhrBankController/appDel/'+id,data);
}

export function getCode(data) {
	return request.get('/HhrQrcodeController/pageData',data);
}
